From: Florian Müllner Date: Sat, 19 Mar 2022 20:15:50 +0000 (+0100) Subject: dateMenu: Mark string for translation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~480^2^2~82 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=034e59af2d7f9f2f147e2a6112315fdc315752de;p=gnome-shell.git dateMenu: Mark string for translation T_() is a convenience shortcut for looking up a string from the locale defined by LC_TIME, but it isn't recognized as a gettext keyword. To do that, we also have to wrap the string in N_() or NC_(). Part-of: --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 36fcc10ef..71b932ad7 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -219,7 +219,7 @@ class EventsSection extends St.Button { /* Translators: Shown in calendar event list as the start/end of events * that only show day and month */ - format = T_('%m/%d'); + format = T_(N_('%m/%d')); else format = '%x';